package com.cssy.yd.logic.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据对象
 * @since 2012-12-26
 */
public class LogicWhAffstockDO implements Serializable {

    private static final long serialVersionUID = 135649323784622235L;

    /**
     * column logic_wh_affstock.id
     */
    private String id;

    /**
     * column logic_wh_affstock.wh_code  仓库编码
     */
    private String whCode;
    
    /**
     * column logic_wh_affstock.whname  仓库名称
     */
    private String whname;

    /**
     * column logic_wh_affstock.hub_code  库位代码
     */
    private String hubCode;

    /**
     * column logic_wh_affstock.hub_name  库位名称
     */
    private String hubName;

    /**
     * column logic_wh_affstock.code  货品编码
     */
    private String code;

    /**
     * column logic_wh_affstock.spec  货品规格
     */
    private String spec;

    /**
     * column logic_wh_affstock.unit  货品单位
     */
    private String unit;

    /**
     * column logic_wh_affstock.name  货品名称
     */
    private String name;

    /**
     * column logic_wh_affstock.quantity  数量（入库为正数出库为负数）
     */
    private Double quantity;

    /**
     * column logic_wh_affstock.status  物品的状态，现在主要有合格，不合格，待检，生产退料，不良性产品退料和作业不良性退料
     */
    private String status;

    /**
     * column logic_wh_affstock.stock_price  货价
     */
    private Double stockPrice;

    /**
     * column logic_wh_affstock.price  单价
     */
    private Double price;

    /**
     * column logic_wh_affstock.duuser  更新人
     */
    private String duuser;

    /**
     * column logic_wh_affstock.dutime  修改时间
     */
    private Date dutime;

    /**
     * column logic_wh_affstock.hgquantity  合格库存
     */
    private Double hgquantity;

    /**
     * column logic_wh_affstock.bhgquantity  不合格库存
     */
    private Double bhgquantity;

    /**
     * column logic_wh_affstock.djquantity  待检库存
     */
    private Double djquantity;

    /**
     * column logic_wh_affstock.lptlquantity  良品退料
     */
    private Double lptlquantity;

    /**
     * column logic_wh_affstock.yckquantity  原材料退料
     */
    private Double yckquantity;

    /**
     * column logic_wh_affstock.zyxquantity  作业性退料
     */
    private Double zyxquantity;

    /**
     * column logic_wh_affstock.quantity1  备用库存状态
     */
    private Double quantity1;

    /**
     * column logic_wh_affstock.quantity2  备用库存状态
     */
    private Double quantity2;

    /**
     * column logic_wh_affstock.quantity3  备用库存状态
     */
    private Double quantity3;

    /**
     * column logic_wh_affstock.quantity4  备用库存状态
     */
    private Double quantity4;

    /**
     * column logic_wh_affstock.quantity5  备用库存状态
     */
    private Double quantity5;

    /**
     * column logic_wh_affstock.quantity6  备用库存状态
     */
    private Double quantity6;

    /**
     * column logic_wh_affstock.ydquantity  优等库存
     */
    private Double ydquantity;

    /**
     * column logic_wh_affstock.ydengquantity  一等
     */
    private Double ydengquantity;

    /**
     * column logic_wh_affstock.faliaoquantity  发料时间
     */
    private Double faliaoquantity;

    /**
     * column logic_wh_affstock.batch  批次
     */
    private String batch;

    /**
     * column logic_wh_affstock.dcruser  创建人
     */
    private String dcruser;

    /**
     * column logic_wh_affstock.dctime  创建时间
     */
    private Date dctime;

    /**
     * column logic_wh_affstock.removed  是否删除 0未删除：1删除
     */
    private Integer removed;
    
    private String brand;
    
    private Double bzq;
    
    private Date scrq;
    
    private Date yxq;
    
    public LogicWhAffstockDO() {
        super();
    }

    public LogicWhAffstockDO(String id, String whCode, String hubCode, String hubName, String code, String spec, String unit, String name, Double quantity, String status, Double stockPrice, Double price, String duuser, Date dutime, Double hgquantity, Double bhgquantity, Double djquantity, Double lptlquantity, Double yckquantity, Double zyxquantity, Double quantity1, Double quantity2, Double quantity3, Double quantity4, Double quantity5, Double quantity6, Double ydquantity, Double ydengquantity, Double faliaoquantity, String batch, String dcruser, Date dctime, Integer removed) {
        this.id = id;
        this.whCode = whCode;
        this.hubCode = hubCode;
        this.hubName = hubName;
        this.code = code;
        this.spec = spec;
        this.unit = unit;
        this.name = name;
        this.quantity = quantity;
        this.status = status;
        this.stockPrice = stockPrice;
        this.price = price;
        this.duuser = duuser;
        this.dutime = dutime;
        this.hgquantity = hgquantity;
        this.bhgquantity = bhgquantity;
        this.djquantity = djquantity;
        this.lptlquantity = lptlquantity;
        this.yckquantity = yckquantity;
        this.zyxquantity = zyxquantity;
        this.quantity1 = quantity1;
        this.quantity2 = quantity2;
        this.quantity3 = quantity3;
        this.quantity4 = quantity4;
        this.quantity5 = quantity5;
        this.quantity6 = quantity6;
        this.ydquantity = ydquantity;
        this.ydengquantity = ydengquantity;
        this.faliaoquantity = faliaoquantity;
        this.batch = batch;
        this.dcruser = dcruser;
        this.dctime = dctime;
        this.removed = removed;
    }

    /**
     * getter for Column logic_wh_affstock.id
     */
    public String getId() {
        return id;
    }

    /**
     * setter for Column logic_wh_affstock.id
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * getter for Column logic_wh_affstock.wh_code
     */
    public String getWhCode() {
        return whCode;
    }

    /**
     * setter for Column logic_wh_affstock.wh_code
     * @param whCode
     */
    public void setWhCode(String whCode) {
        this.whCode = whCode;
    }

    /**
     * getter for Column logic_wh_affstock.hub_code
     */
    public String getHubCode() {
        return hubCode;
    }

    /**
     * setter for Column logic_wh_affstock.hub_code
     * @param hubCode
     */
    public void setHubCode(String hubCode) {
        this.hubCode = hubCode;
    }

    /**
     * getter for Column logic_wh_affstock.hub_name
     */
    public String getHubName() {
        return hubName;
    }

    /**
     * setter for Column logic_wh_affstock.hub_name
     * @param hubName
     */
    public void setHubName(String hubName) {
        this.hubName = hubName;
    }

    /**
     * getter for Column logic_wh_affstock.code
     */
    public String getCode() {
        return code;
    }

    /**
     * setter for Column logic_wh_affstock.code
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * getter for Column logic_wh_affstock.spec
     */
    public String getSpec() {
        return spec;
    }

    /**
     * setter for Column logic_wh_affstock.spec
     * @param spec
     */
    public void setSpec(String spec) {
        this.spec = spec;
    }

    /**
     * getter for Column logic_wh_affstock.unit
     */
    public String getUnit() {
        return unit;
    }

    /**
     * setter for Column logic_wh_affstock.unit
     * @param unit
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * getter for Column logic_wh_affstock.name
     */
    public String getName() {
        return name;
    }

    /**
     * setter for Column logic_wh_affstock.name
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * getter for Column logic_wh_affstock.quantity
     */
    public Double getQuantity() {
        return quantity;
    }

    /**
     * setter for Column logic_wh_affstock.quantity
     * @param quantity
     */
    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    /**
     * getter for Column logic_wh_affstock.status
     */
    public String getStatus() {
        return status;
    }

    /**
     * setter for Column logic_wh_affstock.status
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * getter for Column logic_wh_affstock.stock_price
     */
    public Double getStockPrice() {
        return stockPrice;
    }

    /**
     * setter for Column logic_wh_affstock.stock_price
     * @param stockPrice
     */
    public void setStockPrice(Double stockPrice) {
        this.stockPrice = stockPrice;
    }

    /**
     * getter for Column logic_wh_affstock.price
     */
    public Double getPrice() {
        return price;
    }

    /**
     * setter for Column logic_wh_affstock.price
     * @param price
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * getter for Column logic_wh_affstock.duuser
     */
    public String getDuuser() {
        return duuser;
    }

    /**
     * setter for Column logic_wh_affstock.duuser
     * @param duuser
     */
    public void setDuuser(String duuser) {
        this.duuser = duuser;
    }

    /**
     * getter for Column logic_wh_affstock.dutime
     */
    public Date getDutime() {
        return dutime;
    }

    /**
     * setter for Column logic_wh_affstock.dutime
     * @param dutime
     */
    public void setDutime(Date dutime) {
        this.dutime = dutime;
    }

    /**
     * getter for Column logic_wh_affstock.hgquantity
     */
    public Double getHgquantity() {
        return hgquantity;
    }

    /**
     * setter for Column logic_wh_affstock.hgquantity
     * @param hgquantity
     */
    public void setHgquantity(Double hgquantity) {
        this.hgquantity = hgquantity;
    }

    /**
     * getter for Column logic_wh_affstock.bhgquantity
     */
    public Double getBhgquantity() {
        return bhgquantity;
    }

    /**
     * setter for Column logic_wh_affstock.bhgquantity
     * @param bhgquantity
     */
    public void setBhgquantity(Double bhgquantity) {
        this.bhgquantity = bhgquantity;
    }

    /**
     * getter for Column logic_wh_affstock.djquantity
     */
    public Double getDjquantity() {
        return djquantity;
    }

    /**
     * setter for Column logic_wh_affstock.djquantity
     * @param djquantity
     */
    public void setDjquantity(Double djquantity) {
        this.djquantity = djquantity;
    }

    /**
     * getter for Column logic_wh_affstock.lptlquantity
     */
    public Double getLptlquantity() {
        return lptlquantity;
    }

    /**
     * setter for Column logic_wh_affstock.lptlquantity
     * @param lptlquantity
     */
    public void setLptlquantity(Double lptlquantity) {
        this.lptlquantity = lptlquantity;
    }

    /**
     * getter for Column logic_wh_affstock.yckquantity
     */
    public Double getYckquantity() {
        return yckquantity;
    }

    /**
     * setter for Column logic_wh_affstock.yckquantity
     * @param yckquantity
     */
    public void setYckquantity(Double yckquantity) {
        this.yckquantity = yckquantity;
    }

    /**
     * getter for Column logic_wh_affstock.zyxquantity
     */
    public Double getZyxquantity() {
        return zyxquantity;
    }

    /**
     * setter for Column logic_wh_affstock.zyxquantity
     * @param zyxquantity
     */
    public void setZyxquantity(Double zyxquantity) {
        this.zyxquantity = zyxquantity;
    }

    /**
     * getter for Column logic_wh_affstock.quantity1
     */
    public Double getQuantity1() {
        return quantity1;
    }

    /**
     * setter for Column logic_wh_affstock.quantity1
     * @param quantity1
     */
    public void setQuantity1(Double quantity1) {
        this.quantity1 = quantity1;
    }

    /**
     * getter for Column logic_wh_affstock.quantity2
     */
    public Double getQuantity2() {
        return quantity2;
    }

    /**
     * setter for Column logic_wh_affstock.quantity2
     * @param quantity2
     */
    public void setQuantity2(Double quantity2) {
        this.quantity2 = quantity2;
    }

    /**
     * getter for Column logic_wh_affstock.quantity3
     */
    public Double getQuantity3() {
        return quantity3;
    }

    /**
     * setter for Column logic_wh_affstock.quantity3
     * @param quantity3
     */
    public void setQuantity3(Double quantity3) {
        this.quantity3 = quantity3;
    }

    /**
     * getter for Column logic_wh_affstock.quantity4
     */
    public Double getQuantity4() {
        return quantity4;
    }

    /**
     * setter for Column logic_wh_affstock.quantity4
     * @param quantity4
     */
    public void setQuantity4(Double quantity4) {
        this.quantity4 = quantity4;
    }

    /**
     * getter for Column logic_wh_affstock.quantity5
     */
    public Double getQuantity5() {
        return quantity5;
    }

    /**
     * setter for Column logic_wh_affstock.quantity5
     * @param quantity5
     */
    public void setQuantity5(Double quantity5) {
        this.quantity5 = quantity5;
    }

    /**
     * getter for Column logic_wh_affstock.quantity6
     */
    public Double getQuantity6() {
        return quantity6;
    }

    /**
     * setter for Column logic_wh_affstock.quantity6
     * @param quantity6
     */
    public void setQuantity6(Double quantity6) {
        this.quantity6 = quantity6;
    }

    /**
     * getter for Column logic_wh_affstock.ydquantity
     */
    public Double getYdquantity() {
        return ydquantity;
    }

    /**
     * setter for Column logic_wh_affstock.ydquantity
     * @param ydquantity
     */
    public void setYdquantity(Double ydquantity) {
        this.ydquantity = ydquantity;
    }

    /**
     * getter for Column logic_wh_affstock.ydengquantity
     */
    public Double getYdengquantity() {
        return ydengquantity;
    }

    /**
     * setter for Column logic_wh_affstock.ydengquantity
     * @param ydengquantity
     */
    public void setYdengquantity(Double ydengquantity) {
        this.ydengquantity = ydengquantity;
    }

    /**
     * getter for Column logic_wh_affstock.faliaoquantity
     */
    public Double getFaliaoquantity() {
        return faliaoquantity;
    }

    /**
     * setter for Column logic_wh_affstock.faliaoquantity
     * @param faliaoquantity
     */
    public void setFaliaoquantity(Double faliaoquantity) {
        this.faliaoquantity = faliaoquantity;
    }

    /**
     * getter for Column logic_wh_affstock.batch
     */
    public String getBatch() {
        return batch;
    }

    /**
     * setter for Column logic_wh_affstock.batch
     * @param batch
     */
    public void setBatch(String batch) {
        this.batch = batch;
    }

    /**
     * getter for Column logic_wh_affstock.dcruser
     */
    public String getDcruser() {
        return dcruser;
    }

    /**
     * setter for Column logic_wh_affstock.dcruser
     * @param dcruser
     */
    public void setDcruser(String dcruser) {
        this.dcruser = dcruser;
    }

    /**
     * getter for Column logic_wh_affstock.dctime
     */
    public Date getDctime() {
        return dctime;
    }

    /**
     * setter for Column logic_wh_affstock.dctime
     * @param dctime
     */
    public void setDctime(Date dctime) {
        this.dctime = dctime;
    }

    /**
     * getter for Column logic_wh_affstock.removed
     */
    public Integer getRemoved() {
        return removed;
    }

    /**
     * setter for Column logic_wh_affstock.removed
     * @param removed
     */
    public void setRemoved(Integer removed) {
        this.removed = removed;
    }

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getWhname() {
		return whname;
	}

	public void setWhname(String whname) {
		this.whname = whname;
	}

	public Double getBzq() {
		return bzq;
	}

	public void setBzq(Double bzq) {
		this.bzq = bzq;
	}

	public Date getScrq() {
		return scrq;
	}

	public void setScrq(Date scrq) {
		this.scrq = scrq;
	}

	public Date getYxq() {
		return yxq;
	}

	public void setYxq(Date yxq) {
		this.yxq = yxq;
	}
	
	
}